package com.ls.thread.xgCarthroughBridge;

public class Ctest {
	
	public static void main(String[] args) {
		
		Linght l=new Linght();
		car r=new car(l);
		
		for(int i=0;i<100;i++){
			
			Thread t=new Thread(r,"车"+i);
			t.start();
		}
				
		
	}
	

}
